#include "ccas.h"
#include <stdio.h>
#include <stdlib.h>
int main(){
    string s = ccas_rf("test.txt"); //创建string打开文件
    if (s==NULL) {
        printf("文件路径错误。\n");
        exit(1);
    }
    char *out = ccas_ws(s); //转为字符数组
    printf("%s\n", out);    //打印字符数组
    ccas_free(&s); //释放字符串
    free(out);     //释放字符数组
}